package com.lagou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient // 开启注册中心客户端 （通用型注解，比如注册到Eureka、Nacos等）
@EnableFeignClients  // 开启Feign 客户端功能
@MapperScan(basePackages="com.lagou.dao.mapper")
public class LagouCodeApplication8081 {

    public static void main(String[] args) {
        SpringApplication.run(LagouCodeApplication8081.class,args);
    }

}
